//
//  ScrollADModel.m
//  QinrenManagers
//
//  Created by easaa on 15/7/22.
//  Copyright (c) 2015年 easaa. All rights reserved.
//

#import "ScrollADModel.h"

@implementation ScrollADModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    NSLog(@"%@类这个字段没有定义%@",[NSString stringWithUTF8String:object_getClassName(self)],key);
}

- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"ad_id"])
    {
        self.ad_id = [NSString stringWithFormat:@"%@",[[NSNumberFormatter alloc] stringFromNumber:value]];
    }
    else
    {
         [super setValue:value forKey:key];
    }
    
}

@end
